public class Test {
    public static void main(String[] args) {
        MyArraylist myArraylist = new MyArraylist();
        myArraylist.display();
        myArraylist.set(0,1);
        myArraylist.display();
    }
}
